import { Domain, PageAlias } from './route.enum';
import { PathMapping } from './route.type';

const PagePathMapping: PathMapping = {
    [PageAlias.DemonMInfo]: { path: 'demon/minfo', domain: Domain.MainSite },
    [PageAlias.HomeHome]: { path: '/', domain: Domain.MainSite },
    /* Resume */
    [PageAlias.ResumeTemplateList]: { path: 'resume/tmpls', domain: Domain.MainSite },
    [PageAlias.ResumeTemplateDetail]: { path: 'resume/tmpls/:id', domain: Domain.MainSite },
    [PageAlias.ResumeHome]: { path: 'resume', domain: Domain.MainSite },

    [PageAlias.ArticleHome]: { path: 'article', domain: Domain.MainSite },
};

export { PagePathMapping };
